package cn.weakup.designpattern.b_creational.factory.ifactory;

/**
 * @author lixj
 * @version 1.0.0
 * @date 2022/6/2
 * @desc
 */
public class OperationSub extends Operation {

    @Override
    Double getResult() {
        return getNumberA() - getNumberB();
    }
}
